package com.sgcc.activiti.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 指标维护对象 o_index_maintain
 * 
 * @author sgcc
 * @date 2021-04-09
 */
public class OIndexMaintain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 指标名称 */
    @Excel(name = "指标名称")
    private String indexName;

    /** 指标说明 */
    @Excel(name = "指标说明")
    private String indexDescription;

    /** 指标权重 */
    @Excel(name = "指标权重")
    private Long indexWeight;

    /** 是否删除 */
    private Long isFlag;

    List<OAnomalyTypeDuration> oAnomalyTypeDurationList;

    public List<OAnomalyTypeDuration> getoAnomalyTypeDurationList() {
        return oAnomalyTypeDurationList;
    }

    public void setoAnomalyTypeDurationList(List<OAnomalyTypeDuration> oAnomalyTypeDurationList) {
        this.oAnomalyTypeDurationList = oAnomalyTypeDurationList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setIndexName(String indexName)
    {
        this.indexName = indexName;
    }

    public String getIndexName() 
    {
        return indexName;
    }
    public void setIndexDescription(String indexDescription) 
    {
        this.indexDescription = indexDescription;
    }

    public String getIndexDescription() 
    {
        return indexDescription;
    }
    public void setIndexWeight(Long indexWeight) 
    {
        this.indexWeight = indexWeight;
    }

    public Long getIndexWeight() 
    {
        return indexWeight;
    }
    public void setIsFlag(Long isFlag) 
    {
        this.isFlag = isFlag;
    }

    public Long getIsFlag() 
    {
        return isFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("indexName", getIndexName())
            .append("indexDescription", getIndexDescription())
            .append("indexWeight", getIndexWeight())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isFlag", getIsFlag())
            .toString();
    }
}
